class BaseController < ApplicationController
  
#  before_filter :login_required, :except => ["login", "signup"]
  
  layout :set_layout
  
  def set_layout
    if params[:controller] == "user" && params[:action] == "login"
      return "default"
    elsif params[:controller] == "common" && (params[:action] == "index" || params[:action] == "csv_list")
      return nil
    else
      return "default"
    end
  end
  
end
